POV-Ray : Newsgroups : povray.general : Bug? Official Mac 3.1g (PPC) : Re: Bug? Official Mac 3.1g (PPC) Server Time
1 Jul 2024 09:11:41 EDT (-0400)
  Re: Bug? Official Mac 3.1g (PPC)  
From: Thorsten Froehlich
Date: 2 Aug 1999 11:00:20
Message: <37a5b284@news.povray.org>
In article <B3B### [at] 14710983.2> , "Martin Crisp" 
<val### [at] tesseractcomau> wrote:

> Hi,
>
> Think this is a bug, has happened three times (across reboots of machine
> etc etc). Causes rendering to abort with a bogus (and insulting) error.
> POV says
> this:
>
> Parsing.....................................................................
> ...
> [snip].................................................
> .................Could not find file 'scene_shell.pov'
>
>    #declare yy = yy + incrementy;
>    #local indexy = indexy + 1;
>   #end (yy <= maxy)
>    #local zz = domath(xx,yy) <----ERROR
>
> Tesseract:Apps:Multimedia:3D Apps:renderers:POV-Ray
> 3:Include:math2.inc:144: error: Cannot open macro file scene_shell.pov.
> Check that the file is in a directory specifed with a +L switch
> or 'Library_Path=' .INI item.  Standard include files are in the
> include directory or folder. Please read your documentation carefully.
>
> 'scene_shell.pov' is the scene file (funnily enough), domath is defined in
> scene_shell and then again (if it isn't defined) in math2.inc.
> [Yes, I've read the manual, and the 3.0, and the 2.2 and the 1.0 manuals
> :-) I'm just a beginner, but I know where my towel is. math2.inc *is*, as
> shown in the path above, in the standard include directory]
>
> What caused the above (18 minutes into the parse - a big (to me at least)
> smooth triangle mesh) was the insertion of an audio CD. Tried it again
> (after rebooting, just in case an OS gremlin stabbed POV in the back) -
> same result, and again (data CD this time) same result. Interestingly a
> floppy doesn't cause the problem (locked or unlocked). Haven't tried other
> storage media...
>
> It *always* dies on the same line, hence I think it has something to do
> with having the same macro declared in both files. The only other includes
> are 'standard' includes.
>
> [I only read C at a snail's pace and haven't even glanced at the source]
>
> Now there's a small chance an extension to my OS is causing the problem,
> but I don't have anything running that does anything on insertion of a disk
> other than the bult-in audio CD player... which shouldn't affect data CDs.
>
> Machine is a PPC7500 upgraded to a G3@312MHz (512k of backside cache
> @124MHz). POV has 27MB of memory allocated and uses about 2/3 of that when
> rendering the scene (yes, the scene parses if I don't insert a CD).
>
> So, can anyone else confirm?
> What about on 68k machines?

I could reproduce this problem.
For those interested the problem is in a CodeWarrior library function
(__path2fss) calling PBCatInfoSync.
There is a simple workaround:
Pause POV-Ray (via the Render Menu), insert the CD and _wait_ until it
is mounted and the un-pause POV-Ray again.


    Thorsten


____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.